package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 入库表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inbound")
public class Inbound implements Serializable {
    /**
     * 入库id
     */
    @TableId(value = "inbound_no", type = IdType.INPUT)
    private Integer inboundNo;

    /**
     * 入库单编号
     */
    @TableField(value = "inbound_code")
    private String inboundCode;

    /**
     * 入库单单据日期
     */
    @TableField(value = "inbound_document_time")
    private Date inboundDocumentTime;

    /**
     * 入库类型
     */
    @TableField(value = "inbound_type")
    private Integer inboundType;

    /**
     * 入库时间
     */
    @TableField(value = "inbound_intime")
    private Date inboundIntime;

    /**
     * 交货日期
     */
    @TableField(value = "inbound_shipping_time")
    private Date inboundShippingTime;

    /**
     * 备注
     */
    @TableField(value = "inbound_notes")
    private String inboundNotes;

    /**
     * 产品入库表id
     */
    @TableField(value = "goods_inbound_id")
    private Integer goodsInboundId;

    /**
     * 附件id
     */
    @TableField(value = "file_id")
    private Integer fileId;

    /**
     * 工单编号id
     */
    @TableField(value = "workorder_id")
    private String workorderId;

    /**
     * 入库状态
     */
    @TableField(value = "inbound_start")
    private String inboundStart;

    /**
     * 审核状态
     */
    @TableField(value = "audit_start")
    private Integer auditStart;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    /**
     * 生产负责人id
     */
    @TableField(value = "owner_usertwo_id")
    private Integer ownerUsertwoId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}